package com.gem.service.impl;

import com.gem.entity.SysRole;
import com.gem.mapper.SysRoleMapper;
import com.gem.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 刘聪
 * Created  on 2021/5/25
 */
@Service
public class SysRoleServiceImpl implements SysRoleService {
    @Autowired
    private SysRoleMapper roleMapper;

    @Override
    public SysRole selectById(Integer id){
        return roleMapper.selectById(id);
    }
}
